﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Model
{
    public class DbHouseRegion
    {

        #region DbHouseRegion
        /// <summary>
        /// 
        /// </summary>
        public DbHouseRegion()
        {
        }
        /// <summary>	 
        /// 
        /// </summary>
        public DbHouseRegion(Int32 houseRegionID)
        {
            this.houseRegionID = houseRegionID;
        }
        /// <summary>	 
        /// 
        /// </summary>		
        public DbHouseRegion(DataRow dr)
        {
            int.TryParse(Convert.ToString(dr["houseRegionID"]), out houseRegionID);
            this.houseRegionName = Convert.ToString(dr["houseRegionName"]);
        }

        #endregion



        #region houseRegionID
        private Int32 houseRegionID;
        /// <summary>	 
        /// 
        /// AutoInc
        /// PK
        /// </summary>
        public Int32 HouseRegionID
        {
            get { return houseRegionID; }
            set { houseRegionID = value; }
        }
        #endregion

        #region HouseRegionName
        private string houseRegionName;
        /// <summary>	 
        /// 友情链接类型
        /// 0-文字链接 1-图片链接
        /// </summary>
        public string HouseRegionName
        {
            get { return houseRegionName; }
            set { houseRegionName = value; }
        }
        #endregion
		
    }
}
